CC=gcc
CFLAGS=-Wall -g
DEPS=daemon.o daemon_index.o parser.o main.o 

atis-kid: $(DEPS)
	$(CC) $(CFLAGS) $(DEPS) -o ./build/atis-kid-bin
	
%.o: %.c
	$(CC) $(CFLAGS) $^ -c $@

clean:
	rm -rf *.o ./build/*

run: atis-kid
	./build/atis-kid-bin

.PHONY: clean
.PHONY: run